<?php
header('Content-type: application/force-download');
header('Content-Transfer-Encoding: Binary');
header('Content-length: '.filesize($session->read('nombreArchivo')));
header('Content-disposition: attachment; filename='.basename($session->read('nombreArchivo')));
header("Pragma: no-cache"); 
header("Cache-Control: must-revalidate, post-check=0,pre-check=0");
header("Expires: 0"); 
echo $content_for_layout;
?>